import Vue from 'vue'
import Router from 'vue-router'
import input from '@/components/input'
import img from '@/components/img'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'input',
      component: input
    },
	{
      path: '/res/:name',
      name: 'img',
      component: img
    }
  ]
})
